package com.example.product.client;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import com.example.product.common.ProductInfoOutput;

@FeignClient(name = "PRODUCT-SERVER")
public interface ProductClient {
	@GetMapping("/msg")
	String productMsg();

	@PostMapping("/product/listForOrder")
	List<ProductInfoOutput> listForOrder(List<String> productIdList);
	
	@GetMapping("/product/costTime")
	public String costTime();

}